package com.hanamaki.oop.demo02;

import java.util.Scanner;

public class Application {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入客户账号:");
        String name = scanner.next();
        System.out.println("请输入客户密码:");
        int pass = scanner.nextInt();
        System.out.println("请输入卡类型:");
        String type = scanner.next();
        System.out.println("请输入积分:");
        int score = scanner.nextInt();
        Customer customer = new Customer(name, pass, type, score);
        System.out.println(customer.toString());
    }
}
